﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Love.Awesome.SimpleTiledImplementation
{
    ///<summary>STI图形枚举类型。</summary>
    public enum STIShapeEnum
    {
        Polyline, Polygon, Rectangle, Ellipse, Point
    }

    ///<summary>封装了图形的对象。</summary>
    public class STIShape
    {
        public int ID;
        public int GID;
        public string Name;
        public string Class;
        public float X;
        public float Y;

        public STIShapeEnum Type;

        public Shape Shape;
        public float Rotation = 0f;
        public bool Visible;

        public Properties Properties;
    }
}
